﻿#include "IBLLParam.h"
#include <QDebug>

using namespace CVV::Interface;
IBLLParam::IBLLParam(QObject *parent)
    : QObject(parent)
    , m_param(nullptr)
    , m_ifParam(nullptr)
    , m_bIsYesBranch(true)
{
    m_lstYesNode.clear();
    m_lstNoNode.clear();
    m_strBranchType.clear();
}

IBLLParam::~IBLLParam()
{
}

IBLLParam::IBLLParam(const IBLLParam &obj)
{
    if (this == &obj)
    {
        return;
    }

    m_param = obj.m_param;
    m_ifParam = obj.m_ifParam;
    m_lstYesNode = obj.m_lstYesNode;
    m_lstNoNode = obj.m_lstNoNode;
    m_strBranchType = obj.m_strBranchType;
    m_bIsYesBranch = obj.m_bIsYesBranch;
    m_inputImage = obj.m_inputImage;
}

IBLLParam &IBLLParam::operator =(const IBLLParam &obj)
{
    if (this == &obj)
    {
        return *this;
    }

    m_param = obj.m_param;
    m_ifParam = obj.m_ifParam;
    m_lstYesNode = obj.m_lstYesNode;
    m_lstNoNode = obj.m_lstNoNode;
    m_strBranchType = obj.m_strBranchType;
    m_bIsYesBranch = obj.m_bIsYesBranch;
    m_inputImageHeader = obj.m_inputImageHeader;
    m_inputImage = obj.m_inputImage;

    return *this;
}
